package com.linfeng.api.redis.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author linfeng
 * @date 2021/1/11 13:46
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "spring.redis")
public class RedisConfigProperties {

    private String host = "host";
    private String port = "port";
    private String password = "password";
    private String database = "database";

}
